package uml.behavioral.responsibility_chain;

/**
 * 职责链--眼职责链传递的请求<br>
 * on 2023/1/1 1:29
 */
public class PurchaseRequest {
    private int amount;
    private String id;
    private String purpose;

    public PurchaseRequest(int amount, String id, String purpose) {
        this.amount = amount;
        this.id = id;
        this.purpose = purpose;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }
}
